package games.eightPuzzle.heuristics;

import games.eightPuzzle.states.*;
/**
 * @author avishl02
 * this class represents the AStar function of the MD heuristic
 */
public class AStarMD implements Heuristic{

	public int rank(SlidingPuzzleState state) {
		//return the h + g functions
		return state.getHCost() + state.getDepth();
	}

}
